﻿<?xml version="1.0" encoding="utf-8" ?>
<hibernate-mapping xmlns="urn:nhibernate-mapping-2.2"
                   assembly="DataStore"
                   namespace="DataStore.Domain">
  <class name="Address" table="Address">
    <id name="Id" column="AddressId" type="Guid">
      <generator class="guid" />
    </id>
    <property name="Description" type="String" />
    <property name="District" type="String" />
    <property name="City" type="String" />
    <property name="County" type="String" />
    <property name="PostalCode" type="String" />
    <property name="Complements" type="String" />
    <property name="Neighbourhood" type="String" />
    <property name="Municipality" type="String" />
    <property name="State" type="String" />
    <property name="Apartment" type="String" />
    <many-to-one name="Country" class="Country" column="CountryId" />
  </class>
</hibernate-mapping>